home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Help / locale / help / english / sys / status.doc < prev    next >
Encoding:
Text File  |  2000-10-06  |  1.2 KB  |  48 lines

  1. STATUS
  2.  
  3. Lists information about Shell processes.
  4.  
  5. Format
  6.  
  7. STATUS [<process>] [FULL] [TCB] [CLI | ALL] [COM | COMMAND <command>]
  8.  
  9. Template
  10.  
  11. PROCESS/N,FULL/S,TCB/S,CLI=ALL/S,COM=COMMAND/K
  12.  
  13. Location
  14.  
  15. C:
  16.  
  17. STATUS without any arguments lists the numbers of the current Shell processes
  18. and the program or command running in each. The <process> argument specifies
  19. a process number, limiting STATUS to giving information about that process
  20. only.
  21.  
  22. For information on the stack size, global vector size, priority, and the
  23. current command for each process, use the FULL keyword. The TCB keyword is
  24. similar, omitting the command information. The CLI=ALL keyword gives only the
  25. command information.
  26.  
  27. STATUS searches for a command when you use the COMMAND option. STATUS scans
  28. the Shell list, looking for the specified <command>. If the command is found,
  29. the Shell's process number is output, and the condition flag is set to 0.
  30. Otherwise, the flag is set to 5 (WARN).
  31.  
  32. Example 1:
  33.  
  34. 1> STATUS 1
  35. Process 1: Loaded as command: status
  36.  
  37. Example 2:
  38.  
  39. 1> STATUS 1 FULL
  40. Process 1: stk 4000, gv 150, pri 0 Loaded as command: status
  41.  
  42. Example 3:
  43.  
  44. 1> STATUS >RAM:Xyz COMMAND=COPY
  45. 1> BREAK <RAM:Xyz >NIL: ?
  46.  
  47. sends a break to the process executing COPY.
  48.